

// 阻止默认拖动事件
 $("body").on("touchmove",function(event){
  event.preventDefault;
  }, false)
  //- 设置根元素fontSize~
  (function (doc, win, max) {
    var _root = doc.documentElement,
          resizeEvent = 'orientationchange' in window ? 'orientationchange' : 'resize';
    function resizeFont () {
      var clientWidth = _root.clientWidth;
      // 
      clientWidth = clientWidth > max ? max : clientWidth;
      
      _root.style.fontSize = (clientWidth/6.4) + 'px';
      //console.log('w:' + clientWidth );
    }
    win.addEventListener(resizeEvent, resizeFont, false);
    doc.addEventListener('DOMContentLoaded', resizeFont, false);
  })(document, window, 640);
  